﻿@model Lehnet.Models.Personel
@{
    ViewBag.Title = "PersonelLogin";
}
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm())
{
    <h2>@ViewBag.Message</h2>
    <fieldset>
        <legend>Personel Girişi</legend>
        <table>
            <tr>
                <td>Kullanıcı Adı</td>
                <td>:</td>
                <td>@Html.EditorFor(p => p.KullaniciAdi) </td>
            </tr>
            <tr>
                <td>Şifre</td>
                <td>:</td>
                <td>@Html.PasswordFor(p => p.Sifre) </td>
            </tr>
            <tr>
                <td colspan="3">
                    <input type="submit" value="Giriş Yap" /></td>
            </tr>
        </table>
    </fieldset>
}
